#{extends 'frameHome.html' /} #{set title:'Control Panel' /} 


#{set 'moreScripts'} 
<script type="text/javascript"
	src="@{'/public/javascripts/IconDock/fisheye-iutil.min.js'}"></script>
	
<script type="text/javascript">
$(function () {  
    // Dock initialize  
    $('#dock').Fisheye(  
        {  
            maxWidth: 30,  
            items: 'a',  
            itemsText: 'span',  
            container: '.dock-container',  
            itemWidth: 50,  
            proximity: 60,  
            alignment : 'left',  
            valign: 'bottom',  
            halign : 'center'  
        }  
    );  
});  
</script>

<script type="text/javascript">
function breakout()
{
if (window.top!=window.self) 
  {
  window.top.location="@{Organizations.showOrganization(organization.id)}";
  }
}
</script>
#{/set}

<iframe name="innerframe" scrolling=auto FRAMEBORDER="0" src=""
					width="100%" height="450px"></iframe>




<div id="dock">
			<div class="dock-container">
				<a class="dock-item" href="@{Organizations.showIdeaDevelopersInOrg(organization.id)}" target="innerframe"><span>Block a member</span><img src="@{'/public/images/IconsStack/members.png'}" alt="home" /></a> 
				<a class="dock-item" href="@{Organizations.requestersList(organization.id)}" target="innerframe"><span>Show Requesters</span></a>
				<a class="dock-item" href="@{Organizations.editOrganization(organization.id)}" target="innerframe"><span>Edit</span><img src="@{'/public/images/IconsStack/edit.png'}" alt="contact" /></a> 
				<a class="dock-item" href="@{Organizations.viewAllEntities(organization.id)}" target="innerframe"><span>Entities</span><img src="@{'/public/images/IconsStack/entity.png'}" alt="portfolio" /></a> 
				<a class="dock-item" href="@{Application.OrgLead(organization.id)}" target="innerframe"><span>Permissions</span><img src="@{'/public/images/IconsStack/permission.png'}" width="32"  /></a>
				<a class="dock-item" href="@{LogController.logview(organization.id)}" target="innerframe"><span>Log</span><img src="@{'/public/images/IconsStack/log.png'}" alt="portfolio" /></a> 

                <a class="dock-item" href="@{Organizations.inviteUnregistered(organization.id)}"target="innerframe"><span>Invite unregistered </span> <img src="@{'/public/images/ButtonsIcon/invite.png'}"/></a> <br />
                <a class="dock-item" href="@{Organizations.blockedList(organization.id)}" target ="innerframe"><span>Show Blocked Requesters</span><img src="@{'/public/images/IconsStack/permission.png'}" alt="portfolio"/></a>
               #{if organization.type =="Private"}
               
                <a class="dock-item" href="@{Organizations.requestersList(organization.id)}" target ="innerframe"><span>Show Requesters</span><img src="@{'/public/images/IconsStack/permission.png'}" alt="portfolio"/></a>
				#{/if}
				
				<a class="dock-item" href="" onclick="breakout()" ><span>Exit </span> <img src="@{'/public/images/ButtonsIcon/unjoin.png'}"/></a> <br />  



				
			</div><!-- end div .dock-container -->
		</div><!-- end div .dock #dock -->

















